﻿using SqlSugar;

namespace Domain
{
    public class BaseEntity
    {
        /// <summary>
        /// 主键，自增
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = false)]
        public long Id { get; set; } 
        [SugarColumn(ColumnName ="IsDel")]
        /// <summary>
        /// 删除标识                
        /// </summary>
        public bool IsDel { get; set; } = false;       
    }
}
